/* 注册 */
.page-register {
  .r-header {
    background: #fff;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.05);

    .content {
      display: flex;
      padding: 20px 0;
      align-items: center;
    }

    .logo {
      cursor: pointer;
      display: flex;
      margin-right: auto;

      .img {
        display: inline-block;
        vertical-align: top;
        width: 190px;
        height: 48px;
        background-size: 100%;
      }

      .text {
        font-size: 0;
        display: inline-block;
        vertical-align: top;
        line-height: 48px;
        margin-left: 5px;
      }
    }

    .go-login {
      font-size: 14px;

      .login-btn {
        font-size: 13px;
        display: inline-block;
        padding: 6px 22px;
        background: #146ef7;
        color: #fff;
        border-radius: 30px;
        margin-left: 7px;
      }
    }
  }

  .r-con {
    width: 600px;
    margin: 100px auto;
    min-height: 550px;

    .steps {
      display: flex;
      width: 600px;
      margin: auto;
      text-align: center;

      .item {
        flex: 1;
        position: relative;
        font-size: 14px;
        color: #ddd;

        &::after {
          position: absolute;
          right: -50px;
          top: 15px;
          display: block;
          width: 100px;
          height: 1px;
          content: " ";
          background: #eee;
        }

        &:last-child {
          &::after {
            width: 0;
          }
        }

        .number {
          font-size: 16px;
          font-family: arial;
          border: 1px solid #ddd;
          width: 30px;
          height: 30px;
          line-height: 30px;
          margin: auto;
          border-radius: 40px;
        }

        .text {
          margin-top: 10px;
        }
      }

      .item.active {
        color: #146ef7;

        &::after {
          background: #146ef7;
        }

        .number {
          border-color: #146ef7;
        }
      }
    }

    .con-box {
      width: 460px;
      margin: 40px auto;
      text-align: center;
      .item-bottom {
        padding-bottom: 35px;
      }
      .item {
        position: relative;
        .input-box {
          width: 100%;
          position: relative;

          .input {
            border: 1px solid #e8e8e8;
            font-size: 14px;
            line-height: 44px;
            height: 44px;
            width: 100%;
            box-sizing: border-box;
            padding: 0 10px;
            border-radius: 2px;

            &:hover {
              border-color: #146ef7;
            }
          }

          .ic {
            position: absolute;
            left: 0;
            top: 0;
            width: 50px;
            height: 44px;
            line-height: 44px;
            font-family: arial;
            color: #666;
            cursor: pointer;
            font-size: 14px;

            &::after {
              position: absolute;
              right: -7px;
              top: 20px;
              display: block;
              content: " ";
              width: 0;
              height: 0;
              border: 5px solid transparent;
              border-top: 5px solid #ccc;
            }
          }
        }

        .input-box.phone {
          &:hover {
            .input {
              border-color: #146ef7;
            }
          }

          .input {
            padding-left: 70px;
            padding-right: 10px;
          }
        }

        .input-box.code {
          text-align: left;

          .input {
            padding: 0 10px;
            width: 309px;
            border-radius: 2px 0 0 2px;
          }

          .send-code {
            position: absolute;
            right: 0;
            top: 0;
            background: #f9f9f9;
            width: 150px;
            height: 42px;
            line-height: 42px;
            border: 1px solid #e8e8e8;
            border-left: 0;
            font-size: 14px;
            color: #666;
            text-align: center;
            border-radius: 0 2px 2px 0;

            &:hover {
              color: #333;
            }
          }
        }

        .error-text {
          text-align: left;
          color: #e1251b;
          height: 14px;
          line-height: 14px;
          font-family: "微软雅黑";
          padding-left: 19px;
          display: none;
          position: absolute;
          bottom: 15px;
          left: 10px;

          &::before {
            position: absolute;
            left: 0;
            top: 0;
            display: block;
            width: 14px;
            height: 14px;
            content: " ";
            font-size: 0;
            background: url(@/assets/images/icons.png) no-repeat -77px -517px;
          }
        }
      }

      .item.error {
        .error-text {
          display: block;
        }

        .input-box {
          .input {
            border-color: #e1251b;
          }
        }

        .input-box.phone {
          &:hover {
            .input {
              border-color: #e1251b;
            }
          }
        }
      }

      .next {
        display: block;
        height: 44px;
        line-height: 44px;
        background-color: #146ef7;
        width: 100%;
        margin-top: 10px;
        border-radius: 2px;
        color: #fff;
        cursor: pointer;
        font-size: 16px;

        &:hover {
          opacity: 0.9;
        }
      }

      .register-success {
        display: flex;
        justify-content: center;
        padding: 100px 0 60px;

        .img {
          font-size: 0;
          margin-right: 20px;
          margin-top: 7px;
        }

        .text {
          line-height: 20px;
          text-align: left;

          .text-div {
            font-size: 16px;
          }

          .text-span {
            display: block;
            font-size: 12px;
            color: #999;
            margin-top: 5px;
          }
        }
      }

      .next.suc-btn {
        margin: 10px auto;
        width: 70%;
      }
    }
  }

  .r-footer {
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    text-align: center;
    color: #999;
    padding-bottom: 30px;

    .links {
      height: 20px;
      line-height: 20px;
      margin-bottom: 10px;

      .item {
        display: inline-block;
        vertical-align: top;
        padding: 0 11px 0 10px;
        position: relative;

        &::after {
          position: absolute;
          right: -1px;
          top: 4px;
          bottom: 4px;
          display: block;
          width: 1px;
          height: auto;
          content: " ";
          background: #ddd;
        }

        &:last-child {
          &::after {
            width: 0;
          }
        }

        &:hover {
          text-decoration: underline;
        }
      }
    }
  }

  /* 新增条款 */
  .agree {
    margin-top: 10px;
    .text {
      color: #999;
      a {
        &:hover {
          text-decoration: underline;
        }
      }
    }
  }
  .agreeTerms {
    display: flex;
    align-items: flex-start;
    margin-top: 10px;
    &:deep(.el-checkbox) {
      height: 14px;
      margin-right: 5px;
    }
  }

  .agreeTerms-error {
    margin-top: 10px;
    padding-left: 23px;
    position: relative;
    color: #e1251b;
    height: 16px;
    line-height: 16px;
    text-align: left;

    &::before {
      position: absolute;
      left: 2px;
      top: 1px;
      display: block;
      width: 14px;
      height: 14px;
      content: " ";
      background: url(@/assets/images/icons.png) no-repeat -77px -517px;
    }
  }
  /* 注册 end */
}

